package Day004.ZuoYe;

public class Phone {
    private String pinpai;
    private String color;
    private double peice;

    public Phone() {
    }

    public Phone(String pinpai, String color, double peice) {
        this.pinpai = pinpai;
        this.color = color;
        this.peice = peice;
    }

    public String getPinpai() {
        return pinpai;
    }

    public void setPinpai(String pinpai) {
        this.pinpai = pinpai;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public double getPeice() {
        return peice;
    }

    public void setPeice(double peice) {
        this.peice = peice;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "pinpai='" + pinpai + '\'' +
                ", color='" + color + '\'' +
                ", peice=" + peice +
                '}';
    }
}
